﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Activities;

namespace Decisao.ServicoDecisao
{
    public class AnalisarDados : IAnalisarDados
    {
        [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
        public void Analisar(int valor)
        {
            AnaliseDecisao analise = new AnaliseDecisao();
            analise.contador = valor;
            WorkflowInvoker.Invoke(analise);
        }
    }
}
